#ifndef ACCOUNTITEM_H
#define ACCOUNTITEM_H

#include <QtWidgets/QWidget>
#include <QtWidgets/QLabel>
#include <stdafx.h>

class AccountItem : public QWidget
{
	Q_OBJECT
public:
	AccountItem(QWidget *parent = nullptr);
	~AccountItem();
	void setAccountNumber(QString account_text);
	QString getAccountNumber();

private:

public:
	QLabel *accountLabel;
	QPushButton* deleteButton;

private slots:
	void removeAccount();

signals:
	void showAccount(QWidget*);
	void removeAccount(QWidget*);
};

#endif // ACCOUNTITEM_H
